package com.gpipe.tools;

import java.io.IOException;

public class BigArea implements Area{
	
	private String name = "";
	
	private String id = "";

	Tools tools = new Tools();
	
	public void init(String str) throws IOException {
		setName(tools.getJSONelement(str,"NAME"));
		setId(tools.getJSONelement(str,"ID"));
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	
	
}
